<template>
  <div id="app" class="app-text-select-none">
    <keep-alive>
      <tt-router v-if="$route.meta.keepAlive"></tt-router>
    </keep-alive>
    <tt-router v-if="!$route.meta.keepAlive"></tt-router>
  </div>
</template>

<style>
html {
  height: 100%;
}

body {
  /* height: 100%; */
  margin: 0;
  color: #1b1b1b;
  background-color: #f4f4f4;
}

#app {
  height: 100%;
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 文字不可被选择 */
.app-text-select-none {
  -webkit-user-select: none;
  -ms-user-select: none;
}

/* 不显示滚动条 */
.app-scroll-none {
  -ms-overflow-style: none;
}

.app-scroll-none::-webkit-scrollbar {
  display: none;
}
</style>
